package com.tgy.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 菜单数据格式
 * @author: tianGuiYin
 * @date: 2021/12/22 14:19
 */
@ApiModel(value = "菜单")
@Data
public class MenuVo {
    /**
     * 菜单ID
     */
    @ApiModelProperty(name = "菜单ID")
    private String id;
    /**
     * 菜单名称
     */
    @ApiModelProperty(name = "菜单名称")
    private String title;
    /**
     * 菜单图标
     */
    @ApiModelProperty(name = "菜单图标")
    private String icon;
    /**
     * 菜单类型
     */
    @ApiModelProperty(name = "菜单类型")
    private Integer type;
    /**
     * 菜单地址
     */
    @ApiModelProperty(name = "菜单地址")
    private String href;
    /**
     * 菜单打开类型
     */
    @ApiModelProperty(name = "菜单打开类型")
    private String openType;
    /**
     * 子节点
     */
    @ApiModelProperty(name = "子节点")
    private List<MenuVo> children;
}
